package jobs.xlog;

import com.gzhaoku.xlog.XLog;
import jobs.BaseJob;
import jobs.annotations.JobInfo;
import play.jobs.OnApplicationStop;

/**
 * 关闭XLog
 * @author zhangzc
 * @since 2017/8/4
 */
@OnApplicationStop
@JobInfo(name="XLogShutdown", desc = "XLog终止程序")
public class XLogShutdown extends BaseJob {

    @Override
    public void executeJob() {
        XLog.shutdown();
    }
}
